﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.Attachment
{
    /// <summary>
    /// 附件
    /// </summary>
    public class Attachment : Entity
    {
        /// <summary>
        /// 关联对应的业务数据记录ID
        /// </summary>
        public virtual string RecordId { get; set; }

        /// <summary>
        /// 文件名称
        /// </summary>
        public virtual string FileName { get; set; }

        /// <summary>
        /// 原始文件名（带路径）
        /// </summary>
        public virtual string OriginalFileName { get; set; }

        /// <summary>
        /// 上传用户
        /// </summary>
        public virtual string UploadUserName { get; set; }

        /// <summary>
        /// 附件类型名称
        /// </summary>
        public virtual string TypeName { get; set; }

        /// <summary>
        /// 下载次数
        /// </summary>
        public virtual int DownloadCount { get; set; }

        /// <summary>
        /// 下载记录
        /// </summary>
        public virtual string DownloadLog { get; set; }
    }
}
